package com.yf.exam.modules.exam.ext.dto;

import com.yf.base.api.annon.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* <p>
* 试卷请求类
* </p>
*
* @author 聪明笨狗
* @since 2020-05-25 17:31
*/
@Data
@ApiModel(value="已交卷查询响应类", description="已交卷查询响应类")
public class WatchPaperRespDTO implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "ID", required=true)
    private String id;

    @ApiModelProperty(value = "用户ID", required=true)
    private String userId;

    @ApiModelProperty(value = "姓名", required=true)
    private String realName;


    @ApiModelProperty(value = "规则ID", required=true)
    private String examId;

    @ApiModelProperty(value = "用户时长", required=true)
    private Integer userTime;

    @ApiModelProperty(value = "实际切屏次数", required=true)
    private Integer leaveTimes;

    @ApiModelProperty(value = "实际交卷时间")
    private Date handTime;

    @ApiModelProperty(value = "交卷状态,0未交卷,1已交卷", required=true)
    private Integer handState;

    @Dict(dicCode = "paper_ex_state")
    @ApiModelProperty(value = "异常状态")
    private Integer exState;
    private String exState_dictText;

    @ApiModelProperty(value = "异常消息")
    private String exMsg;

    @ApiModelProperty(value = "成绩是否有效", required=true)
    private Boolean valid;

}
